package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.entity.Employee;
import com.itheima.reggie.entity.dto.LoginDto;

/**
 * 员工业务层接口
 *
 * @Author Vsunks.v
 * @Date 2022/8/10 8:55
 * @Blog blog.sunxiaowei.net
 * @Description: 员工业务层接口，继承MP提供的父接口IService<实体类型>
 */
public interface EmployeeService extends IService<Employee> {
    boolean saveWithDataInit(Employee employee);

    Employee login(LoginDto loginDto);

    Page page(Integer pageNum, Integer pageSize, String name);
}
